8c0f7389027c94f6dad618e7100549de6913d2c2,src/main/java/net/ilexiconn/llibrary/client/gui/element/ListElement.java,ListElement,render,#number#number#number#,48
Before Change
float entryX = this.getPosX() + 2;
float entryY = this.getPosY() + y + 2;
float entryWidth = this.getWidth() - 4;
boolean selected = this.isSelected(this.getPosX() + 2, this.getPosY() + y + 1, entryWidth, this.entryHeight, mouseX, mouseY) && !this.scrolling;
boolean clickSelecting = selected && Mouse.isButtonDown(0);
if (this.selectedEntry == entryIndex) {
this.drawRectangle(entryX, entryY, entryWidth, this.entryHeight, clickSelecting ? LLibrary.CONFIG.getAccentColor() : LLibrary.CONFIG.getDarkAccentColor());
After Change
float entryX = this.getPosX() + 2;
float entryY = this.getPosY() + y;
float entryWidth = this.getWidth() - 6;
boolean selected = this.isSelected(this.getPosX(), this.getPosY() + y, entryWidth, this.entryHeight, mouseX, mouseY) && !this.scrollbar.isScrolling();
boolean clickSelecting = selected && Mouse.isButtonDown(0);
if (this.selectedEntry == entryIndex) {
this.drawRectangle(entryX, entryY, entryWidth, this.entryHeight, clickSelecting ? LLibrary.CONFIG.getAccentColor() : LLibrary.CONFIG.getDarkAccentColor());